func golang.org/x/mod/module.checkElem

5 uses

	golang.org/x/mod/module (current package)
		module.go#L404: 			if err := checkElem(path[elemStart:i], kind); err != nil {
		module.go#L410: 	if err := checkElem(path[elemStart:], kind); err != nil {
		module.go#L417: func checkElem(elem string, kind pathKind) error {
		module.go#L698: 	if err := checkElem(v, filePath); err != nil || strings.Contains(v, "!") {
		module.go#L757: 	if err := checkElem(v, filePath); err != nil {